package com.tpshion.deploy.handler.msg;

import com.tpshion.deploy.common.constant.MsgType;
import com.tpshion.deploy.common.support.MsgContext;
import org.springframework.stereotype.Component;

@Component
public abstract class AbstartMsgHandler {

    public abstract MsgType getMsgType();

    public String getType(){
        return getMsgType().getType();
    }

    public abstract void receiveMessage(MsgContext msgContext);
}
